<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <link rel="stylesheet" href="./css/index.css">
  <title>Document</title>
</head>

<body>
  <div class="menu-wrap">
    <div class="main">
      <ul class="main-list">
        <li class="main-item">
          <a href="javascript:;">菜单1</a>
        </li>
        <li class="main-item">
          <a href="javascript:;">菜单2</a>
        </li>
        <li class="main-item">
          <a href="javascript:;">菜单3</a>
        </li>
        <li class="main-item">
          <a href="javascript:;">菜单4</a>
        </li>
        <li class="main-item">
          <a href="javascript:;">菜单5</a>
        </li>
        <li class="main-item">
          <a href="javascript:;">菜单6</a>
        </li>
        <li class="main-item">
          <a href="javascript:;">菜单7</a>
        </li>
        <li class="main-item">
          <a href="javascript:;">菜单8</a>
        </li>
        <li class="main-item">
          <a href="javascript:;">菜单9</a>
        </li>
        <li class="main-item">
          <a href="javascript:;">菜单10</a>
        </li>
      </ul>
    </div>
    <div class="sub hide">
      <ul class="sub-list">
        <li class="sub-item">子菜单1</li>
        <li class="sub-item">子菜单2</li>
        <li class="sub-item">子菜单3</li>
        <li class="sub-item">子菜单4</li>
        <li class="sub-item">子菜单5</li>
        <li class="sub-item">子菜单6</li>
        <li class="sub-item">子菜单7</li>
        <li class="sub-item">子菜单8</li>
        <li class="sub-item">子菜单9</li>
        <li class="sub-item">子菜单10</li>
      </ul>
    </div>
  </div>

  <script src="./js/utils.js"></script>
  <script src="./js/index.js"></script>



</body>

</html>